home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 1997 January: Mac OS SDK / Dev.CD Jan 97 SDK2.toast / Development Kits (Disc 2) / OpenDoc Development Framework / ODF-Interest Archive / June 96 / CW9 Conversion < prev    next >
Encoding:
Internet Message Format  |  1996-12-03  |  2.7 KB  |  [TEXT/ttxt]

  1. Subject:     CW9 Conversion
  2. Sent:        6/3/96 10:45 AM
  3. Received:    6/3/96 11:01 AM
  4. From:        Henri Lamiraux, lamiraux@apple.com
  5. Reply-To:    ODF Interest, ODF-Interest@CILabs.ORG
  6. To:          OpenDoc Development Framework Discussion List, ODF-Interest@CILabs.
  7.  
  8. I did not mention the ODFLibrary in my document because you should not 
  9. have to rebuild it. The ODFLibrary is independent of the compiler used. 
  10. But, it is true that for debug purpose you may want to rebuild it and I 
  11. should have added a paragraph about that. But don't forget that you MUST 
  12. ship your part with the 'official' ODFLibrary not the one you built. 
  13.  
  14. Note also that the ODFLibrary is built with Native exception and RTTI 
  15. because in the Shared library performance is more important than code 
  16. size. You should leave those settings the way there were because it is 
  17. the way there are going to be when you ship you part (with the official 
  18. ODFLibrary). 
  19.  
  20.  
  21. >The instructions in the CW9 conversion package for ODF release 1
  22. >are incomplete.  There is no explicit mention of the changes for
  23. >the shared library projects and the script doesn't look correct.
  24. >(The released project explicitly includes the individual source
  25. >files instead of ODFRuntime.Lib.")
  26. >
  27. >I've manually changed the "Runtime" segment in the shared library
  28. >projects.  I had to remove the following files:
  29. >
  30. >ANSI C++.PPC.Lib
  31. >CPlusLibPPC.cp
  32. >ExceptionPPC.cp
  33. >global_destructor_chain.c
  34. >NMWException.cp
  35. >MWRTTI.cp
  36. >ptmf.c
  37. >qdglobals.c
  38. >runtime.c
  39. >Startup.c
  40. >
  41. >And replace them with MWCRuntime.Lib.  The "Runtime" segment
  42. >now only contains the following files:
  43. >
  44. >ANSI C.PPC.Lib
  45. >MWCRuntime.Lib
  46. >console.stubs.c
  47. >
  48. >In order to build without native exceptions I also had to add
  49. >FWExcImp.cpp and FWClaImp.cpp.
  50. >
  51. >As shipped, the static library projects are configured with
  52. >native exceptions off and the shared library projects with
  53. >native exceptions on.
  54. >
  55. >Greg
  56. >
  57. >*********************************************************************
  58. >Greg King                                  phone: 905-660-9006 x201
  59. >Perkin Elmer-SCIEX                           fax: 905-660-2600
  60. >71 Four Valley Drive                    internet: greg@sciex.com
  61. >Concord, Ontario, Canada     If you turn off your monitor, how do you
  62. >L4K-4V8                      know if your screen saver is working?
  63. >                                          -Royal Canadian Air Farce
  64. >*********************************************************************
  65.  
  66.  
  67. ........................................................................
  68.  Henri Lamiraux                                      lamiraux@apple.com
  69.  Apple Computer, Inc.                 OpenDoc(tm) Development Framework
  70. ........................................................................
  71.  
  72.